package bean;

import java.util.ArrayList;
import java.util.List;

public class Person {
	
	private int id;
	private String name;
	private  Integer age;
    private List<Order> listorder= new ArrayList<Order>();
    
    private List<Role> role= new ArrayList<Role>();
   
	public List<Role> getRole() {
		return role;
	}
	public void setRole(List<Role> role) {
		this.role = role;
	}
	public List<Order> getList() {
		return listorder;
	}
	public void setList(List<Order> listorder) {
		this.listorder = listorder;
	}
	@Override
	public String toString() {
		return "Person [id=" + id + ", name=" + name + ", age=" + age + "]";
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	

}
